﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ReconSite.Master" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs" Inherits="ReconUI.ChangePassword" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="BodyHolder" runat="server">
    <div class="formDiv" style="width: 45%">
        <h2 class="formTitle">
            Change Password</h2>
        <asp:ChangePassword ID="chngPassword" runat="server" NewPasswordRegularExpression="^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,15}"
            ChangePasswordFailureText="Current Password incorrect or New Password invalid."
            ChangePasswordTitleText="" ConfirmPasswordCompareErrorMessage="Confirm New Password must match New Password."
            EnableViewState="False" InstructionText="<b>Password Complexity Requirements:</b><ul><li>The password must be at least 8 characters and at the most 15 characters long.</li><li>The password must contain at least 1 lower case character, 1 UPPER case character and 1 numeral.</li><li>The password can optionally contain any of the symbols:- @, $, !, %, *, ?, &</li></ul>"
            NewPasswordRegularExpressionErrorMessage="Enter a valid Password that matches Password Complexity requirements."
            PasswordLabelText="Current Password:" PasswordRequiredErrorMessage="Current Password is required."
            SuccessText="Password changed successfully!" SuccessTitleText="Password Changed"
            OnChangingPassword="chngPassword_ChangingPassword">
            <InstructionTextStyle BackColor="#FFFFFF" BorderColor="#FF0000" BorderStyle="Solid"
                BorderWidth="0.5px" Font-Names="Verdana" ForeColor="#FF0000" />
            <ValidatorTextStyle BackColor="#FFFFFF" BorderColor="#FF0000" BorderStyle="Solid"
                BorderWidth="0.5px" Font-Names="Verdana" ForeColor="#FF0000" />
        </asp:ChangePassword>
        <asp:Label ID="lblErrorMsg" runat="server" ForeColor="Red" Visible="False" />
        <asp:HyperLink ID="HomeLink" runat="server" Text="Go To Home Page" NavigateUrl="~/ReconHome.aspx"
            Visible="False" />
    </div>
</asp:Content>

